<!--{if empty($_GET['inajax'])}-->
<!--{template common/header_simple}-->
<link rel="stylesheet" type="text/css" href="static/dzzicon/materialdesignicons.min.css?{VERHASH}">
<!--{template common/beijing}-->
<style>
	html, body{
		overflow:auto;
	}
	<!--{if $_G[setting][loginset][kbcolor]}-->
	.card{
		background-color:$_G[setting][loginset][kbcolor];
	}
	<!--{/if}-->
  <!--{if $_G[setting][loginset][transparency]}-->
	.form-control{
		background-color:$_G[setting][loginset][transparency];
	}
	<!--{/if}-->
</style>
<!--[if lt IE 9]>
  <script src="static/js/jquery.placeholder.js" type="text/javascript"></script>
<![endif]-->
<script type="text/javascript" src="user/scripts/login.js?{VERHASH}"></script>
<!--{eval $loginhash = 'L'.random(4);}-->
<!--{if !empty($_GET['inajax'])}--><button type="button" class="close" data-bs-dismiss="modal" aria-hidden="true">×</button><!--{/if}-->
<div class="row vh-100" id="lostpw_container_$loginhash" style="position: absolute;width: 100%">
  <div class="col-md-6 col-lg-7 col-xl-8 d-none d-md-block">

    <div class="d-flex vh-100">
      <div class="p-5 align-self-end">
         <!--{if $_G[setting][loginset][subtitle]}--><h1>$_G[setting][loginset][subtitle]</h1><!--{/if}-->
        <br><br><br>
        <!--{if $_G[setting][metadescription]}--><p class="text-white">$_G[setting][metadescription]</p><!--{/if}-->
      </div>
    </div>

  </div>

  <div class="col-md-6 col-lg-5 col-xl-4 align-self-center" style="background-color: <!--{if $_G['setting']['loginset']['kbcolor']}-->$_G['setting']['loginset']['kbcolor']<!--{else}-->#fff<!--{/if}-->;height: 100%;display: flex;align-items: center;justify-content: center;">
    <div class="p-5">
      <div class="text-center">
        <img alt="light year admin" src="<!--{if !$_G['setting']['bbclosed']}-->{eval echo $_G['setting']['sitelogo']?'index.php?mod=io&op=thumbnail&size=small&path='.dzzencode('attach::'.$_G['setting']['sitelogo']):'static/image/common/logo.png';}<!--{else}-->static/image/common/logo.png<!--{/if}-->">
      </div>
      <h2 class="text-center">{lang getpassword}</h2>
			<div class="Mbody">
        <form class="signin-form needs-validation" method="post" autocomplete="off" id="lostpwform_$loginhash" role="form"  onsubmit="lostpass('lostpw_container_$loginhash','lostpwform_$loginhash','returnmessage3_$loginhash');return false;" action="user.php?mod=login&op=logging&action=lostpasswd">
          <input type="hidden" name="formhash" value="{FORMHASH}" />
          <input type="hidden" name="lostpwsubmit" value="true" />
          <input type="hidden" name="handlekey" value="lostpw_$loginhash" />
          <div class="mb-3 has-feedback">
            <span class="mdi mdi-email" aria-hidden="true"></span>
            <input type="text" class="form-control" name="email" id="lostpw_email" value="" placeholder="{lang fill_your_login_email}" required>
          </div>
          <div class="mb-3 has-feedback">
            <span class="mdi mdi-account" aria-hidden="true"></span>
            <input type="text" class="form-control" name="username" id="lostpw_username" value="" placeholder="{lang names_fill_registration}" required>
          </div>
          <div class="mb-3 d-grid">
            <button class="btn btn-primary" name="lostpwsubmit" value="true">{lang sure_find}</button>
          </div>
          <div class="mb-3 text-center">
            <p class="text-center">
              <span>需要返回？</span>
              <a href="user.php?mod=login" onclick="try{_login.logging();return false}catch(e){return true}" title="{lang back_login}">{lang back_login}</a>
            </p>
          </div>
          <p class="error-msg text-center" id="returnmessage3_$loginhash"></p>
        </form>
      </div>
			<div class="modal-footer mb-3 text-center" style="display:none;">
        <button type="button" class="btn btn-primary toMail" >{lang now_your_email}</button>
        <button type="button" class="btn btn-outline-secondary toIndex" onclick="location.href='$_G[siteurl]'">{lang back_homepage}</button>
      </div>
      <p class="text-center text-muted mt-3"><!--{template common/copyright}--></p>
    </div>
  </div>
</div>
<script type="text/javascript">
  jQuery(document).ready(function(e) {
    jQuery('#lostpw_email').focus();
        if(jQuery('.ie8').length){ //ie8模拟placeholder;
      jQuery(':input[placeholder]').each(function(){
        jQuery(this).placeholder();
      });
    }
    });
</script>
<script type="text/javascript" src="user/scripts/setbacksize.js?{VERHASH}"></script>
<!--{template common/footer}-->
<!--{/if}-->